<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false"%>
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<LINK href="../styles/all.css" rel=stylesheet type=text/css>
<TITLE></TITLE>
<script src="../js/nToday.js"></script>
<SCRIPT LANGUAGE="JavaScript">
<!--
function exit(){
	top.location.href="javascript:window.close()";
	window.close();
}

/////////////即时时间/////////////////////////////
var  timerID  =  null
var  timerRunning  =  false  
function  stopclock(){
//  cannot  directly  test  timerID  on  DEC  OSF/1  in  beta  4.
if(timerRunning)
clearTimeout(timerID)
timerRunning  =  false
}  
function  startclock(){
//  Make  sure  the  clock  is  stopped
stopclock()
showtime()
}  
function  showtime(){
var  now  =  new  Date()
var  hours  =  now.getHours()
var  minutes  =  now.getMinutes()
var  seconds  =  now.getSeconds()
var  timeValue  =  ""  +  ((hours  >  12)  ?  hours  -  12  :  hours)
timeValue  +=  ((minutes  <  10)  ?  ":0"  :  ":")  +  minutes
timeValue  +=  ((seconds  <  10)  ?  ":0"  :  ":")  +  seconds
timeValue  +=  (hours  >=  12)  ?  "  下午"  :  "  上午"
document.all.show.innerHTML  =  "<font color='white'>"+timeValue+"&nbsp;&nbsp;</font>"
timerID  =  setTimeout("showtime()",1000)
timerRunning  =  true
}
//////////////////////////////////////////////

function today(){//今天日期

var  D=new  Date();
var  yy=D.getYear();
var  mm=D.getMonth()+1;
var  dd=D.getDate();
var  ww=D.getDay();
if  (ww==0)  ww="星期日";
if  (ww==1)  ww="星期一";
if  (ww==2)  ww="星期二";
if  (ww==3)  ww="星期三";
if  (ww==4)  ww="星期四";
if  (ww==5)  ww="星期五";
if  (ww==6)  ww="星期六";
nl = new Lunar(new Date(tY,tM,tD));
	document.all.show_.innerHTML  =  "<font color='white'>"+yy+"年"+mm+"月"+dd+"日 "+ww+" 农历: "+nl.nToday+"</font>"
}

//-->
</script>  

</HEAD>

<BODY>
	<table width=100% height="100%" cellspacing=0 cellpadding=0 background="../images/header.jpg">
		<tr height="90%">
			<form  name="clock"  onsubmit="0">
			<td align="right"  valign="top">
				<span id="show_"><font color="#FFFFFF">2009年12月12日</font>
				</span>
				<img src="../images/time.gif">
				<span id="show"> <font color="#FFFFFF">10:30</font>
				</span>
				&nbsp;&nbsp;&nbsp;&nbsp;
			</td>
		</tr>
		
		<tr>
			
			<td align="right" valign="bottom">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				 
			
				
				<img src="../images/exit.gif" width="15" height="15" align="absbottom" style="CURSOR:hand">
				<a href="#"><font color="white">退出</font></a>
				&nbsp;
			</td>					
		</tr>
		
</table>

	
</BODY>
</HTML>
